package com.dnb.webmash.playmaker.client.playertypes;

import com.dnb.webmash.playmaker.client.mediaplayer.MediaPlayer;
import com.dnb.webmash.playmaker.shared.PlayerType;
import com.google.gwt.dom.client.Document;

public class EmbedPlayer extends MediaPlayer{		
	public EmbedPlayer() {
		myType = PlayerType.EMBED;
		myElement = Document.get().createElement("object");
		setElement(myElement);	
	}		
	@Override
	protected void embed() {				
		myElement.setInnerHTML(this.mediaIt.getElement());
		getElement().appendChild(myElement);
	}
}
